package com.ljfresh.customer.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ljfresh.customer.dto.UDeskResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 客户历史数据
 * @Author zzx
 */
@Data
@ApiModel("工单(简略)")
public class Feed {

    @ApiModelProperty("数据类型")
    private String feed_type;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("标题")
    private String subject;

    @ApiModelProperty("用户id")
    private Long user_id;

    @ApiModelProperty("用户所属组的id")
    private Long user_group_id;

    @ApiModelProperty("状态")
    private String status_zh_name;

    @ApiModelProperty("创建于")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date created_at;

    @ApiModelProperty("变更记录时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format="yyyy-MM-dd")
    private Date time;

    @ApiModelProperty("描述")
    private String summary;
}
